/**   
 * @Title: Operation.java 
 * @Package absfactory.Calculator 
 * @Description: TODO(用一句话描述该文件做什么) 
 * @author yangdechao   
 * @date 2017-7-21 上午9:50:27 
 * @version V1.0   
 */
package absfactory.Calculator;

/**
 * @author john
 * 
 */
public class Operation{

	private double num1;
	private double num2;
	private String operate;

	/**
	 * @return the num1
	 */
	public double getNum1() {
		return num1;
	}

	/**
	 * @param num1
	 *            the num1 to set
	 */
	public void setNum1(double num1) {
		this.num1 = num1;
	}

	/**
	 * @return the num2
	 */
	public double getNum2() {
		return num2;
	}

	/**
	 * @param num2
	 *            the num2 to set
	 */
	public void setNum2(double num2) {
		this.num2 = num2;
	}

	/**
	 * @return the operate
	 */
	public String getOperate() {
		return operate;
	}

	/**
	 * @param operate
	 *            the operate to set
	 */
	public void setOperate(String operate) {
		this.operate = operate;
	}

	public Operation() {
	}

	public Operation(double num1, double num2) {
		this.num1 = num1;
		this.num2 = num2;
	}
	public double getResult() {
		return 0;
	}

}
